home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
diz2p100.zip
/
PCBTEST.BAT
< prev
Wrap
DOS Batch File
|
1993-06-15
|
547b
|
29 lines
@echo off
if exist pcbpass.txt del pcbpass.txt
if exist pcbfail.txt del pcbfail.txt
rem * 4DOS commands *
if %@ext[%1]==gif goto end
if %@ext[%1]==zip goto zip
if %@ext[%1]==arj goto zip
if %@ext[%1]==lzh goto zip
goto end
:zip
rem ■ Testing ZIP file integrity
pkunzip -t %1 > pcbfail.txt
if errorlevel == 1 goto failed
rem ■ Checking for included FILE_ID.DIZ for description
diz-2pcb c:\diz2pcb\diz-2pcb.cnf %1 %3
recom -sc:\diz2pcb\diz2-c.@@@ %1
del pcbfail.txt
goto end
:failed
move %1 c:\reject
goto end
:end